package com.yeyks.common.constants.rocketmq;

/**
 * @author fuchangshuai
 * @date 2019/08/12 14:43
 */
public class TopicAndTag {

//    /**
//     * topic
//     */
//    //普通队列
//    public static final String TOPIC_YYKS_NORMAL = "yyksNormal";
//    //延迟队列
//    public static final String TOPIC_YYKS_DELAY = "yyksDelay";
//
//    /**
//     * groupId
//     */
//    //抢单通知
//    public static final String GID_YYKSNORMAL_WEBTOCTAG = "GID_yyksNormal_webToCTag";
//    //抢单请求
//    public static final String GID_YYKSNORMAL_GRABTHEORDER = "GID_yyksNormal_GrabTheOrder";
//    //下单成功
//    public static final String GID_YYKSNORMAL_GRABTHEORDERSUCCESS = "GID_yyksNormal_GrabTheOrderSuccess";
//    //延迟校验
//    public static final String GID_YYKSDELAY_GRABTHEORDERCHECK = "GID_yyksDelay_GrabTheOrderCheck";
//    //用户websocket推送的群发消息
//    public static final String GID_YYKSNORMAL_GRABTHEORDERWEBSOCKET = "GID_yyksNormal_GrabTheOrderWebsocket";
//    //用户下单，30分钟后检查是否付款，未付款的取消订单
//    public static final String GID_YYKSDELAY_CHECKNOTPAY = "GID_yyksDelay_CheckNotPay";
//    //发送消息用于WebSocket监听，推送给web端
//    public static final String GID_YYKSNORMAL_WEBSOCKET = "GID_yyksNormal_webSocket";
//    //退款c to web通知
//    public static final String GID_YYKSNORMAL_REFUNDNOTICE = "GID_yyksNormal_RefundNotice";
//    //抢单发mq到b端的topic
//    public static final String GID_YYKSNORMAL_ROBTOBTAG = "GID_yyksNormal_RobToBTag";
//    //抢单结果发mq到b端的topic
//    public static final String GID_YYKSNORMAL_ROBRESULTTOBTAG = "GID_yyksNormal_RobResultToBTag";
//    //es更新hotel,room,calendar
//    public static final String GID_YYKSDELAY_ESUPDATE = "GID_yyksDelay_esUpdate";
//    //cnbooking回调延迟队列消息
//    public static final String GID_YYKSNORMAL_CNBACK = "GID_yyksDelay_cnbookingback";
//
//    public static final String GID_YYKSNORMAL_CANCEL_ORDER = "GID_yyksNormal_cancelOrder";
//    //会员卡支付成功
//    public static final String GID_YYKSNORMAL_CARD_PAY_SUCCESS = "GID_yyksNormal_cardPaySuccess";
//
////    public static final String GID_YYKSDELAY_BIGGITORDERCHECK = "GID_yyksDelay_bigGitOrderCheck";
//    //消息推送（例如活动推送）
//    public static final String GID_YYKSDELAY_WEBTOCSENDTAG = "GID_yyksNormal_webToCSendTag";
//    //webToBForCnHotelSync(web端给b端发送cn酒店更新的同步)
//    public static final String GID_WEB_TO_B_FOR_CN_HOTEL_SYNC = "GID_yyksNormal_webToBForCnHotelSync";
//
//    public static final String GID_CN_YYKSNORMAL_CNPUSH = "GID_yyksDelay2_cnbookingPush";
    /**
     * tag
     */
    //下单通知
    public static final String TAG_WEB_TO_C_TAG = "webToCTag";
    //抢单请求
    public static final String TAG_GRAB_THE_ORDER = "GrabTheOrder";
    //下单成功
    public static final String TAG_GRAB_THE_ORDER_SUCCESS = "GrabTheOrderSuccess";
    //订单延迟10分钟check
    public static final String TAG_GRAB_THE_ORDER_CHECK = "GrabTheOrderCheck";
    //用户websocket推送的群发消息
    public static final String TAG_GRAB_THE_ORDER_WEBSOCKET = "GrabTheOrderWebsocket";
    //用户下单，30分钟后检查是否付款，未付款的取消订单
    public static final String TAG_CHECK_NOT_PAY = "checkNotPay";
    //发送消息用于WebSocket监听，推送给web端
    public static final String TAG_WEBSOCKET = "webSocket";
    //退款c to web通知
    public static final String TAG_REFUND_NOTICE = "RefundNotice";
    //抢单发mq到b端的tag
    public static final String TAG_ROB_TO_B_TAG = "robToBTag";
    //抢单结果发mq到b端的tag
    public static final String TAG_ROB_RESULT_TO_B_TAG = "robResultToBTag";
    //es更新hotel,room,calendar
    public static final String TAG_ESUPDATE = "esUpdate";
    //Cnbooking订单延迟10秒钟
    public static final String TAG_CNBOOKING_ORDER_UPATE = "cnbookingback";
    //订单取消
    public static final String TAG_CNBOOKING_ORDER_CANCEL = "cancelOrder";
    //会员卡支付成功
    public static final String TAG_CARD_PAY_SUCCESS = "cardPaySuccess";

    //消息推送（例如活动推送）
    public static final String TAG_WEB_TO_C_SEND_TAG = "webToCSendTag";
    //webToBForCnHotelSync(web端给b端发送cn酒店更新的同步)
    public static final String TAG_WEB_TO_B_FOR_CN_HOTEL_SYNC = "webToBForCnHotelSync";

    //cn推送
    public static final String TAG_CN_CNBOOKING_PUSH = "cnbookingPush";

    /**
     * ===================================== 环境切换分割线==========================================================
     **/

//    //版本发布pre环境，不影响服务切换
    //普通队列
    public static final String TOPIC_YYKS_NORMAL = "yyksNormal2";
    //延迟队列
    public static final String TOPIC_YYKS_DELAY = "yyksDelay2";

    /**
     * groupId
     */
    //抢单通知
    public static final String GID_YYKSNORMAL_WEBTOCTAG = "GID_yyksNormal2_webToCTag";
    //抢单请求
    public static final String GID_YYKSNORMAL_GRABTHEORDER = "GID_yyksNormal2_GrabTheOrder";
    //下单成功
    public static final String GID_YYKSNORMAL_GRABTHEORDERSUCCESS = "GID_yyksNormal2_GrabTheOrderSuccess";
    //延迟校验
    public static final String GID_YYKSDELAY_GRABTHEORDERCHECK = "GID_yyksDelay2_GrabTheOrderCheck";
    //用户websocket推送的群发消息
    public static final String GID_YYKSNORMAL_GRABTHEORDERWEBSOCKET = "GID_yyksNormal2_GrabTheOrderWebsocket";
    //用户下单，30分钟后检查是否付款，未付款的取消订单
    public static final String GID_YYKSDELAY_CHECKNOTPAY = "GID_yyksDelay2_CheckNotPay";
    //发送消息用于WebSocket监听，推送给web端
    public static final String GID_YYKSNORMAL_WEBSOCKET = "GID_yyksNormal2_webSocket";
    //退款c to web通知
    public static final String GID_YYKSNORMAL_REFUNDNOTICE = "GID_yyksNormal2_RefundNotice";
    //抢单发mq到b端的topic
    public static final String GID_YYKSNORMAL_ROBTOBTAG = "GID_yyksNormal2_RobToBTag";
    //抢单结果发mq到b端的topic
    public static final String GID_YYKSNORMAL_ROBRESULTTOBTAG = "GID_yyksNormal2_RobResultToBTag";
    //es更新hotel,room,calendar
    public static final String GID_YYKSDELAY_ESUPDATE = "GID_yyksDelay2_esUpdate";
    //cnbooking回调延迟队列消息
    public static final String GID_YYKSNORMAL_CNBACK = "GID_yyksDelay2_cnbookingback";

    public static final String GID_YYKSNORMAL_CANCEL_ORDER = "GID_yyksNormal2_cancelOrder";
    //会员卡支付成功
    public static final String GID_YYKSNORMAL_CARD_PAY_SUCCESS = "GID_yyksNormal2_cardPaySuccess";
    //消息推送（例如活动推送）
    public static final String GID_YYKSDELAY_WEBTOCSENDTAG = "GID_yyksNormal2_webToCSendTag";
    //webToBForCnHotelSync(web端给b端发送cn酒店更新的同步)
    public static final String GID_WEB_TO_B_FOR_CN_HOTEL_SYNC = "GID_yyksNormal2_webToBForCnHotelSync";

    public static final String GID_CN_YYKSNORMAL_CNPUSH = "GID_yyksDelay2_cnbookingPush";

}
